package com.biz.user.dto;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "tb_sys_user")
public class UserDTO implements java.io.Serializable{
	private static final long serialVersionUID = -7640612353861097975L;
	private String userid;
	private String username;
	private String loginname;
	
	@Id
	@Column(name="userid")
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	@Column(name="username")
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	@Column(name="loginname")
	public String getLoginname() {
		return loginname;
	}
	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}
	  
	@Override
	public String toString() {
		return "UserDTO [userid=" + userid + ", username=" + username + ", loginname=" + loginname + "]";
	}
}
